[INFO] cloning repository https://github.com/moeru1/cryptopals
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moeru1/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeru1%2Fcryptopals", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeru1%2Fcryptopals'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 247505df94c9ecc98f089660d0f178c131944c49
[INFO] testing moeru1/cryptopals against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeru1%2Fcryptopals" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/moeru1/cryptopals
[INFO] finished tweaking git repo https://github.com/moeru1/cryptopals
[INFO] tweaked toml for git repo https://github.com/moeru1/cryptopals written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/moeru1/cryptopals on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/moeru1/cryptopals already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitflags v2.4.2
[INFO] [stderr]   Downloaded openssl-sys v0.9.99
[INFO] [stderr]   Downloaded pkg-config v0.3.29
[INFO] [stderr]   Downloaded openssl v0.10.63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] caf61b6d3789e5a665f2471403038c56c102cafc931e77349897df0cfdc89bb2
[INFO] running `Command { std: "docker" "start" "-a" "caf61b6d3789e5a665f2471403038c56c102cafc931e77349897df0cfdc89bb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "caf61b6d3789e5a665f2471403038c56c102cafc931e77349897df0cfdc89bb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caf61b6d3789e5a665f2471403038c56c102cafc931e77349897df0cfdc89bb2", kill_on_drop: false }`
[INFO] [stdout] caf61b6d3789e5a665f2471403038c56c102cafc931e77349897df0cfdc89bb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f95bfb3a18207bd6bfad0226c97396eb1aa9dc4f02805fe996693917978d0522
[INFO] running `Command { std: "docker" "start" "-a" "f95bfb3a18207bd6bfad0226c97396eb1aa9dc4f02805fe996693917978d0522", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::set1::fixed_xor`
[INFO] [stdout]  --> src/set1/aes_ecb.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::set1::fixed_xor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repeating_key_xor`
[INFO] [stdout]  --> src/set1/break_repeating_key.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::set1::{repeating_key_xor, single_byte_xor_cipher::decrypt_single_xor};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/set1/break_repeating_key.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, prelude::*, BufReader};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `break_repeating_key::hamming_distance`
[INFO] [stdout]  --> src/set1/detect_aes_ecb.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::set1::{break_repeating_key::hamming_distance, fixed_xor::hex_decode};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Engine`, `alphabet::STANDARD`, and `engine::general_purpose`
[INFO] [stdout]  --> src/set1/detect_aes_ecb.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use base64::{self, alphabet::STANDARD, engine::general_purpose, Engine};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cmp::min`
[INFO] [stdout]  --> src/set1/detect_aes_ecb.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     cmp::min,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set1::fixed_xor::*`
[INFO] [stdout]  --> src/set1/detect_single_xor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::set1::fixed_xor::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::char`
[INFO] [stdout]  --> src/set1/fixed_xor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::char;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `format`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{format, Write};
[INFO] [stdout]   |                ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write as IoWrite` and `self`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{self, Write as IoWrite};
[INFO] [stdout]   |               ^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `repeat_with` and `slice::ChunksExact`
[INFO] [stdout]  --> src/set2/byte_ecb_decryption_harder.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     iter::{repeat, repeat_with, zip},
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 5 |     slice::ChunksExact,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aes_ecb_decrypt`
[INFO] [stdout]  --> src/set2/byte_ecb_decryption_harder.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     cbc::{aes_ecb_decrypt, aes_ecb_encrpyt},
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set1::detect_aes_ecb::evaluate`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::set1::detect_aes_ecb::evaluate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `distributions::Standard` and `seq::SliceRandom`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repeat_with`
[INFO] [stdout]  --> src/set2/byte_ecb_decryption_simple.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     iter::{repeat, repeat_with},
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set1::detect_aes_ecb::evaluate`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::set1::detect_aes_ecb::evaluate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `distributions::Standard` and `seq::SliceRandom`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aes_ecb`
[INFO] [stdout]  --> src/set2/cbc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     aes_ecb,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encrypt`
[INFO] [stdout]  --> src/set2/cbc.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use openssl::symm::{encrypt, Cipher, Crypter, Mode};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set2::pkcs7`
[INFO] [stdout]  --> src/set2/ecb_cbc_oracle.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::set2::pkcs7;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> src/set2/ecb_cbc_oracle.rs:6:59
[INFO] [stdout]   |
[INFO] [stdout] 6 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::Distribution`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 17 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::Distribution`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let (block_size, n) = find_block_size(encryption_oracle);
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_len`
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:253:35
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_len`
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:175:35
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entropy` is never used
[INFO] [stdout]   --> src/set1/detect_aes_ecb.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn entropy<'a>(p: impl Iterator<Item = &'a f64>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `asd` is never used
[INFO] [stdout]   --> src/set1/detect_aes_ecb.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn asd(reader: impl BufRead) -> vec::IntoIter<(f32, String)> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_aes_ecb` is never used
[INFO] [stdout]   --> src/set1/detect_aes_ecb.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn detect_aes_ecb(filename: impl AsRef<Path>) -> vec::IntoIter<(f32, String)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EncryptionOracle` is never constructed
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct EncryptionOracle<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `encrypt` are never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl<'a> EncryptionOracle<'a> {
[INFO] [stdout]    | ----------------------------- associated items in this implementation
[INFO] [stdout] 42 |     fn new(random_prefix: &'a [u8]) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn encrypt(&self, input: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_block_size` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn find_block_size(encryption_oracle: &EncryptionOracle) -> (usize, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_prefix_len` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn find_prefix_len(encryption_oracle: &EncryptionOracle) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_prefix_len2` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn find_prefix_len2(encryption_oracle: &EncryptionOracle) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_mixed_block` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn find_mixed_block(encryption_oracle: &EncryptionOracle, block_size: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_block` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn get_block(bytes: &[u8], i: usize, block_size: usize) -> &[u8] {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary_opt` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn create_dictionary_opt<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary3` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:165:4
[INFO] [stdout]     |
[INFO] [stdout] 165 | fn dictionary3(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn create_dictionary(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary2` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:220:4
[INFO] [stdout]     |
[INFO] [stdout] 220 | fn dictionary2(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary1` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:253:4
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_block_size` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn find_block_size() -> (usize, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_block` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_block(bytes: &[u8], i: usize, block_size: usize) -> &[u8] {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary_opt` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn create_dictionary_opt<'a>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary3` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn dictionary3(block_size: usize, total_len: usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn create_dictionary(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary2` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dictionary2(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary1` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_cbc_encrpyt_naive` is never used
[INFO] [stdout]   --> src/set2/cbc.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn aes_cbc_encrpyt_naive(plaintext: &[u8], key: &[u8], iv: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_SIZE` is never used
[INFO] [stdout]  --> src/set2/ecb_cbc_oracle.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const BLOCK_SIZE: usize = 16;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Threshold` is never constructed
[INFO] [stdout]   --> src/set2/ecb_cbc_oracle.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Threshold(f32);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OracleTrainer` is never constructed
[INFO] [stdout]   --> src/set2/ecb_cbc_oracle.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct OracleTrainer {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Oracle` is never constructed
[INFO] [stdout]   --> src/set2/ecb_cbc_oracle.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Oracle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `train_oracle` is never used
[INFO] [stdout]   --> src/set2/ecb_cbc_oracle.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl OracleTrainer {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 65 |     fn train_oracle<'a>(input: impl IntoIterator<Item = Vec<u8>>) -> Threshold {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `ecb_cbc_oracle` are never used
[INFO] [stdout]    --> src/set2/ecb_cbc_oracle.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl Oracle {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 113 |     fn new(threshold: Threshold) -> Oracle {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn ecb_cbc_oracle(&self, value: f32) -> EncryptionType {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_SIZE` is never used
[INFO] [stdout]  --> src/set2/ecb_cut_paste.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const BLOCK_SIZE: usize = 16;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kv_formatter` is never used
[INFO] [stdout]  --> src/set2/ecb_cut_paste.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn kv_formatter<'a>(input: impl Iterator<Item = (&'a str, &'a str)>) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kv_parsing` is never used
[INFO] [stdout]   --> src/set2/ecb_cut_paste.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn kv_parsing(input: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `profile_for` is never used
[INFO] [stdout]   --> src/set2/ecb_cut_paste.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn profile_for(email: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_user` is never used
[INFO] [stdout]   --> src/set2/ecb_cut_paste.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn encrypt_user(encoded_user: &str) -> (Vec<u8>, [u8; BLOCK_SIZE]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_and_parse` is never used
[INFO] [stdout]   --> src/set2/ecb_cut_paste.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn decrypt_and_parse(encrypted_user: &[u8], key: &[u8; BLOCK_SIZE]) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.10s
[INFO] running `Command { std: "docker" "inspect" "f95bfb3a18207bd6bfad0226c97396eb1aa9dc4f02805fe996693917978d0522", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f95bfb3a18207bd6bfad0226c97396eb1aa9dc4f02805fe996693917978d0522", kill_on_drop: false }`
[INFO] [stdout] f95bfb3a18207bd6bfad0226c97396eb1aa9dc4f02805fe996693917978d0522
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce04e9e0562877c74d113a96ce2f6960fb32caedd40fce4b28468d8dca1091a2
[INFO] running `Command { std: "docker" "start" "-a" "ce04e9e0562877c74d113a96ce2f6960fb32caedd40fce4b28468d8dca1091a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::set1::fixed_xor`
[INFO] [stdout]  --> src/set1/aes_ecb.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::set1::fixed_xor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/set1/break_repeating_key.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, prelude::*, BufReader};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `break_repeating_key::hamming_distance`
[INFO] [stdout]  --> src/set1/detect_aes_ecb.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::set1::{break_repeating_key::hamming_distance, fixed_xor::hex_decode};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Engine`, `alphabet::STANDARD`, and `engine::general_purpose`
[INFO] [stdout]  --> src/set1/detect_aes_ecb.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use base64::{self, alphabet::STANDARD, engine::general_purpose, Engine};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cmp::min`
[INFO] [stdout]  --> src/set1/detect_aes_ecb.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     cmp::min,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::rngs::StdRng`
[INFO] [stdout]   --> src/set1/detect_aes_ecb.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     use rand::rngs::StdRng;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng`, and `thread_rng`
[INFO] [stdout]   --> src/set1/detect_aes_ecb.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |     use rand::{thread_rng, Rng, SeedableRng};
[INFO] [stdout]    |                ^^^^^^^^^^  ^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set1::fixed_xor::*`
[INFO] [stdout]  --> src/set1/detect_single_xor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::set1::fixed_xor::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::char`
[INFO] [stdout]  --> src/set1/fixed_xor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::char;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set1::single_byte_xor_cipher::*`
[INFO] [stdout]   --> src/set1/fixed_xor.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     use crate::set1::single_byte_xor_cipher::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `format`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{format, Write};
[INFO] [stdout]   |                ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write as IoWrite` and `self`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{self, Write as IoWrite};
[INFO] [stdout]   |               ^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/set1/single_byte_xor_cipher.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `repeat_with` and `slice::ChunksExact`
[INFO] [stdout]  --> src/set2/byte_ecb_decryption_harder.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     iter::{repeat, repeat_with, zip},
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 5 |     slice::ChunksExact,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aes_ecb_decrypt`
[INFO] [stdout]  --> src/set2/byte_ecb_decryption_harder.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     cbc::{aes_ecb_decrypt, aes_ecb_encrpyt},
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set1::detect_aes_ecb::evaluate`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::set1::detect_aes_ecb::evaluate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `distributions::Standard` and `seq::SliceRandom`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repeat_with`
[INFO] [stdout]  --> src/set2/byte_ecb_decryption_simple.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     iter::{repeat, repeat_with},
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::set1::detect_aes_ecb::evaluate`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::set1::detect_aes_ecb::evaluate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `distributions::Standard` and `seq::SliceRandom`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aes_ecb`
[INFO] [stdout]  --> src/set2/cbc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     aes_ecb,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encrypt`
[INFO] [stdout]  --> src/set2/cbc.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use openssl::symm::{encrypt, Cipher, Crypter, Mode};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> src/set2/ecb_cbc_oracle.rs:6:59
[INFO] [stdout]   |
[INFO] [stdout] 6 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ascii::IntoAsciiString`
[INFO] [stdout]    --> src/set2/ecb_cbc_oracle.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     use ascii::IntoAsciiString;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]    --> src/set2/ecb_cbc_oracle.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 130 |     use std::fs::{self, File};
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout]    --> src/set2/ecb_cbc_oracle.rs:131:19
[INFO] [stdout]     |
[INFO] [stdout] 131 |     use std::io::{BufRead, BufReader};
[INFO] [stdout]     |                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::Distribution`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 17 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::Distribution`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let (block_size, n) = find_block_size(encryption_oracle);
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_len`
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:253:35
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_len`
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:175:35
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:193:26
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let (block_size, n) = find_block_size();
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oracle`
[INFO] [stdout]    --> src/set2/ecb_cbc_oracle.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let oracle = Oracle::new(threshold);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oracle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/set2/ecb_cut_paste.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let output = kv_parsing("foo=bar&baz=qux&zap=zazzle");
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_prefix_len` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_harder.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn find_prefix_len(encryption_oracle: &EncryptionOracle) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary_opt` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn create_dictionary_opt<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary3` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:165:4
[INFO] [stdout]     |
[INFO] [stdout] 165 | fn dictionary3(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn create_dictionary(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary2` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:220:4
[INFO] [stdout]     |
[INFO] [stdout] 220 | fn dictionary2(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary1` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_harder.rs:253:4
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_block` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_block(bytes: &[u8], i: usize, block_size: usize) -> &[u8] {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary_opt` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn create_dictionary_opt<'a>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary3` is never used
[INFO] [stdout]   --> src/set2/byte_ecb_decryption_simple.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn dictionary3(block_size: usize, total_len: usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_dictionary` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn create_dictionary(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary2` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dictionary2(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dictionary1` is never used
[INFO] [stdout]    --> src/set2/byte_ecb_decryption_simple.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/set2/ecb_cbc_oracle.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Threshold(f32);
[INFO] [stdout]    |        --------- ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `Threshold` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `threshold` is never read
[INFO] [stdout]   --> src/set2/ecb_cbc_oracle.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Oracle {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 14 |     threshold: Threshold,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ecb_cbc_oracle` is never used
[INFO] [stdout]    --> src/set2/ecb_cbc_oracle.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl Oracle {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn ecb_cbc_oracle(&self, value: f32) -> EncryptionType {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s
[INFO] running `Command { std: "docker" "inspect" "ce04e9e0562877c74d113a96ce2f6960fb32caedd40fce4b28468d8dca1091a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce04e9e0562877c74d113a96ce2f6960fb32caedd40fce4b28468d8dca1091a2", kill_on_drop: false }`
[INFO] [stdout] ce04e9e0562877c74d113a96ce2f6960fb32caedd40fce4b28468d8dca1091a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 20690d565609af4d7c92187dff7529a1c8bc2cc2bb19275a77dd4dd077653fb8
[INFO] running `Command { std: "docker" "start" "-a" "20690d565609af4d7c92187dff7529a1c8bc2cc2bb19275a77dd4dd077653fb8", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::set1::fixed_xor`
[INFO] [stderr]  --> src/set1/aes_ecb.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::set1::fixed_xor;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/set1/break_repeating_key.rs:5:15
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::{self, prelude::*, BufReader};
[INFO] [stderr]   |               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `break_repeating_key::hamming_distance`
[INFO] [stderr]  --> src/set1/detect_aes_ecb.rs:1:19
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::set1::{break_repeating_key::hamming_distance, fixed_xor::hex_decode};
[INFO] [stderr]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Engine`, `alphabet::STANDARD`, and `engine::general_purpose`
[INFO] [stderr]  --> src/set1/detect_aes_ecb.rs:2:20
[INFO] [stderr]   |
[INFO] [stderr] 2 | use base64::{self, alphabet::STANDARD, engine::general_purpose, Engine};
[INFO] [stderr]   |                    ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `cmp::min`
[INFO] [stderr]  --> src/set1/detect_aes_ecb.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     cmp::min,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::rngs::StdRng`
[INFO] [stderr]   --> src/set1/detect_aes_ecb.rs:94:9
[INFO] [stderr]    |
[INFO] [stderr] 94 |     use rand::rngs::StdRng;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Rng`, `SeedableRng`, and `thread_rng`
[INFO] [stderr]   --> src/set1/detect_aes_ecb.rs:95:16
[INFO] [stderr]    |
[INFO] [stderr] 95 |     use rand::{thread_rng, Rng, SeedableRng};
[INFO] [stderr]    |                ^^^^^^^^^^  ^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::set1::fixed_xor::*`
[INFO] [stderr]  --> src/set1/detect_single_xor.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::set1::fixed_xor::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::char`
[INFO] [stderr]  --> src/set1/fixed_xor.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::char;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::set1::single_byte_xor_cipher::*`
[INFO] [stderr]   --> src/set1/fixed_xor.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     use crate::set1::single_byte_xor_cipher::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::Cow`
[INFO] [stderr]  --> src/set1/single_byte_xor_cipher.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::borrow::Cow;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Write` and `format`
[INFO] [stderr]  --> src/set1/single_byte_xor_cipher.rs:3:16
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::fmt::{format, Write};
[INFO] [stderr]   |                ^^^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Write as IoWrite` and `self`
[INFO] [stderr]  --> src/set1/single_byte_xor_cipher.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{self, Write as IoWrite};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::str`
[INFO] [stderr]  --> src/set1/single_byte_xor_cipher.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::str;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `repeat_with` and `slice::ChunksExact`
[INFO] [stderr]  --> src/set2/byte_ecb_decryption_harder.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 |     iter::{repeat, repeat_with, zip},
[INFO] [stderr]   |                    ^^^^^^^^^^^
[INFO] [stderr] 5 |     slice::ChunksExact,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `aes_ecb_decrypt`
[INFO] [stderr]  --> src/set2/byte_ecb_decryption_harder.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 |     cbc::{aes_ecb_decrypt, aes_ecb_encrpyt},
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::set1::detect_aes_ecb::evaluate`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_harder.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::set1::detect_aes_ecb::evaluate;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `itertools::Itertools`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_harder.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use itertools::Itertools;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `distributions::Standard` and `seq::SliceRandom`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_harder.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `repeat_with`
[INFO] [stderr]  --> src/set2/byte_ecb_decryption_simple.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 |     iter::{repeat, repeat_with},
[INFO] [stderr]   |                    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::set1::detect_aes_ecb::evaluate`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_simple.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::set1::detect_aes_ecb::evaluate;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `itertools::Itertools`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_simple.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use itertools::Itertools;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `distributions::Standard` and `seq::SliceRandom`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_simple.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `aes_ecb`
[INFO] [stderr]  --> src/set2/cbc.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 |     aes_ecb,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `encrypt`
[INFO] [stderr]  --> src/set2/cbc.rs:5:21
[INFO] [stderr]   |
[INFO] [stderr] 5 | use openssl::symm::{encrypt, Cipher, Crypter, Mode};
[INFO] [stderr]   |                     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `seq::SliceRandom`
[INFO] [stderr]  --> src/set2/ecb_cbc_oracle.rs:6:59
[INFO] [stderr]   |
[INFO] [stderr] 6 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stderr]   |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ascii::IntoAsciiString`
[INFO] [stderr]    --> src/set2/ecb_cbc_oracle.rs:127:9
[INFO] [stderr]     |
[INFO] [stderr] 127 |     use ascii::IntoAsciiString;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `File`
[INFO] [stderr]    --> src/set2/ecb_cbc_oracle.rs:130:25
[INFO] [stderr]     |
[INFO] [stderr] 130 |     use std::fs::{self, File};
[INFO] [stderr]     |                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stderr]    --> src/set2/ecb_cbc_oracle.rs:131:19
[INFO] [stderr]     |
[INFO] [stderr] 131 |     use std::io::{BufRead, BufReader};
[INFO] [stderr]     |                   ^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `prelude::Distribution`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_harder.rs:17:36
[INFO] [stderr]    |
[INFO] [stderr] 17 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `prelude::Distribution`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_simple.rs:16:36
[INFO] [stderr]    |
[INFO] [stderr] 16 |     self, distributions::Standard, prelude::Distribution, seq::SliceRandom, thread_rng, Rng,
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_harder.rs:86:22
[INFO] [stderr]    |
[INFO] [stderr] 86 |     let (block_size, n) = find_block_size(encryption_oracle);
[INFO] [stderr]    |                      ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_len`
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_harder.rs:253:35
[INFO] [stderr]     |
[INFO] [stderr] 253 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stderr]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_len`
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_simple.rs:175:35
[INFO] [stderr]     |
[INFO] [stderr] 175 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stderr]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_simple.rs:193:26
[INFO] [stderr]     |
[INFO] [stderr] 193 |         let (block_size, n) = find_block_size();
[INFO] [stderr]     |                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `oracle`
[INFO] [stderr]    --> src/set2/ecb_cbc_oracle.rs:147:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |         let oracle = Oracle::new(threshold);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oracle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `output`
[INFO] [stderr]   --> src/set2/ecb_cut_paste.rs:63:13
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let output = kv_parsing("foo=bar&baz=qux&zap=zazzle");
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_prefix_len` is never used
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_harder.rs:85:4
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn find_prefix_len(encryption_oracle: &EncryptionOracle) -> usize {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_dictionary_opt` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_harder.rs:147:4
[INFO] [stderr]     |
[INFO] [stderr] 147 | fn create_dictionary_opt<'a>(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dictionary3` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_harder.rs:165:4
[INFO] [stderr]     |
[INFO] [stderr] 165 | fn dictionary3(block_size: usize, total_len: usize) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_dictionary` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_harder.rs:197:4
[INFO] [stderr]     |
[INFO] [stderr] 197 | fn create_dictionary(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dictionary2` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_harder.rs:220:4
[INFO] [stderr]     |
[INFO] [stderr] 220 | fn dictionary2(block_size: usize, total_len: usize) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dictionary1` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_harder.rs:253:4
[INFO] [stderr]     |
[INFO] [stderr] 253 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_block` is never used
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_simple.rs:64:4
[INFO] [stderr]    |
[INFO] [stderr] 64 | fn get_block(bytes: &[u8], i: usize, block_size: usize) -> &[u8] {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_dictionary_opt` is never used
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_simple.rs:69:4
[INFO] [stderr]    |
[INFO] [stderr] 69 | fn create_dictionary_opt<'a>(
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dictionary3` is never used
[INFO] [stderr]   --> src/set2/byte_ecb_decryption_simple.rs:87:4
[INFO] [stderr]    |
[INFO] [stderr] 87 | fn dictionary3(block_size: usize, total_len: usize) {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_dictionary` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_simple.rs:119:4
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn create_dictionary(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dictionary2` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_simple.rs:142:4
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn dictionary2(block_size: usize, total_len: usize) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dictionary1` is never used
[INFO] [stderr]    --> src/set2/byte_ecb_decryption_simple.rs:175:4
[INFO] [stderr]     |
[INFO] [stderr] 175 | fn dictionary1(block_size: usize, total_len: usize) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/set2/ecb_cbc_oracle.rs:11:18
[INFO] [stderr]    |
[INFO] [stderr] 11 | struct Threshold(f32);
[INFO] [stderr]    |        --------- ^^^
[INFO] [stderr]    |        |
[INFO] [stderr]    |        field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr]    = note: `Threshold` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `threshold` is never read
[INFO] [stderr]   --> src/set2/ecb_cbc_oracle.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | struct Oracle {
[INFO] [stderr]    |        ------ field in this struct
[INFO] [stderr] 14 |     threshold: Threshold,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `ecb_cbc_oracle` is never used
[INFO] [stderr]    --> src/set2/ecb_cbc_oracle.rs:116:8
[INFO] [stderr]     |
[INFO] [stderr] 112 | impl Oracle {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 116 |     fn ecb_cbc_oracle(&self, value: f32) -> EncryptionType {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptopals` (bin "cryptopals" test) generated 52 warnings (run `cargo fix --bin "cryptopals" -p cryptopals --tests` to apply 35 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cryptopals-01818e4bf6addb3a)
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test set1::fixed_xor::tests::it_works ... ok
[INFO] [stdout] test set1::detect_aes_ecb::tests::entropy_alphabet ... ok
[INFO] [stdout] test set1::repeating_key_xor::tests::it_works ... ok
[INFO] [stdout] test set2::pkcs7::tests::it_works ... ok
[INFO] [stdout] test set1::hex_to_base64::tests::it_works ... ok
[INFO] [stdout] test set1::single_byte_xor_cipher::tests::it_works ... ok
[INFO] [stdout] test set1::aes_ecb::tests::it_works ... ok
[INFO] [stdout] test set2::cbc::tests::it_works ... ok
[INFO] [stdout] test set2::byte_ecb_decryption_simple::tests::it_works ... ok
[INFO] [stdout] test set2::cbc::tests::it_works_file ... ok
[INFO] [stdout] test set2::ecb_cut_paste::tests::it_works ... ok
[INFO] [stdout] test set2::byte_ecb_decryption_harder::tests::test_find_prefix2 ... ok
[INFO] [stdout] test set2::ecb_cbc_oracle::tests::it_works ... ok
[INFO] [stdout] test set1::detect_aes_ecb::tests::it_works ... ok
[INFO] [stdout] test set1::break_repeating_key::tests::it_works ... ok
[INFO] [stdout] test set1::detect_single_xor::tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "20690d565609af4d7c92187dff7529a1c8bc2cc2bb19275a77dd4dd077653fb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20690d565609af4d7c92187dff7529a1c8bc2cc2bb19275a77dd4dd077653fb8", kill_on_drop: false }`
[INFO] [stdout] 20690d565609af4d7c92187dff7529a1c8bc2cc2bb19275a77dd4dd077653fb8
